// Hand.cpp: implementation of the CHand class.
//
//////////////////////////////////////////////////////////////////////


#include "Hand.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////



#include "backbuffer.h"

CHand::CHand()
{

}

CHand::~CHand()
{

}

bool CHand::CheckPushPrecondition(const CCard &_card)
{
	return true;
}

void CHand::Draw(unsigned int _x, unsigned int _y, bool selected )
{
    throw "Draw not implemented yet!";
}

bool CHand::IncreaseSelection()
{
	if( cards_stored && cards_selected < cards_stored )
	{
		cards_selected++;
		return true;
	}

	return false;
}
